package com.pks.datacenter.entity.theme;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.pks.util.coder.database.DBField;
import com.pks.util.coder.database.DBQuery;
import com.pks.util.coder.database.DBTable;
import com.pks.web.mybatis.entity.BasicEntity;

/**
 * 主题关联数据表
 * @author pks
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@DBTable(tags = "主题表视图" )
public class ThemeDbView extends BasicEntity {

	private static final long serialVersionUID = 690931200915837057L;

	public static final int TYPE_MASTER = 1;
	public static final int TYPE_INFO = 2;
	
	@DBField(comment = "名称")
	private String name;
	
	@DBField(comment = "数据表ID", nullable = false)
	private Long dbInfoId;
	
	@DBField(comment = "查询条件" , type = "text" , nullable = false)
	private String queryJson;
	
	
}
